<div class="well">
  <form name="spiderNewForm" class="form-horizontal" role="form"
        ng-init="spider = {};"
        ng-submit="send('spider.create', spider);">
    <div class="form-group">
      <label class="col-sm-2 control-label required">服务名称</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" placeholder="例：电子公文服务" ng-model="spider.name" required>
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">服务描述</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" ng-model="spider.descr">
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label required">访问地址</label>
      <div class="col-sm-10">
        <input type="text" class="form-control" placeholder="例如：http://localhost:8848/service" ng-model="spider.url" required>
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <input class="btn btn-primary" type="submit" ng-disabled="spiderNewForm.$invalid"/>
      </div>
    </div>
  </form>
</div>
<hr>
